home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #11 / Amiga Plus CD - 2002 - No. 11.iso / Tools / Development / PowerD / Pdmod / modules / socket / pwd.m < prev    next >
Encoding:
Text File  |  2002-10-28  |  915 b   |  33 lines

  1. /*
  2. **      $Filename: pwd.h $
  3. **      $Release$
  4. **      $Revision: 3.3 $
  5. **      $Date: 1994/04/07 20:23:52 $
  6. **
  7. **      Definitions of uid_t and passwd structure for 32 bit C compilers
  8. **
  9. **      Copyright © 1993,1994 AmiTCP/IP Group, <AmiTCP-Group@hut.fi>
  10. **                  Helsinki University of Technology, Finland.
  11. **                  All rights reserved.
  12. */
  13.  
  14.  
  15. /* The passwd structure */
  16. OBJECT passwd
  17.     pw_name:PTR TO BYTE,        /* Username */
  18.     pw_passwd:PTR TO BYTE,      /* Encrypted password */
  19.     pw_uid:LONG,                /* User ID */
  20.     pw_gid:LONG,                /* Group ID */
  21.     pw_gecos:PTR TO BYTE,       /* Real name etc */
  22.     pw_dir:PTR TO BYTE,         /* Home directory */
  23.     pw_shell:PTR TO BYTE        /* Shell */
  24.  
  25. /*
  26. struct passwd *getpwuid(uid_t uid);
  27. struct passwd *getpwnam(const char *name);
  28.  
  29. void setpwent(void);
  30. struct passwd *getpwent(void);
  31. void endpwent(void);
  32. */
  33.